//
//  GlobeConst.h
//  06-extern和const联合使用
//
//  Created by xiaomage on 16/3/5.
//  Copyright © 2016年 小码哥. All rights reserved.
//

#import <Foundation/Foundation.h>
// YYKIT

// XMGKIT
#ifdef __cplusplus
#define XMGKIT_EXTERN		extern "C" __attribute__((visibility ("default")))
#else
#define XMGKIT_EXTERN	        extern __attribute__((visibility ("default")))
#endif

//利用一个文件作为所有文件的全局变量
//extern :作为声明，不能定义
//const :把变量作为常量看，不能修改值，相当于swift的let
//static :静态，只分配一次内存，1假如修饰局部变量生命周期会延长。
        //2假如修改全局变量，作用域只能当前文件下使用

//XMGKIT_EXTERN实际上就是extern
XMGKIT_EXTERN NSString * const discover_name;


//通知名
extern NSString * const homeHeaderViewFinishLoadNotification;

extern NSString * const littleVideoJumpToTeacherNotification;




//登录之后去做什么的keyword
extern NSString * const YWLoginToPraiseKeyword;
extern NSString * const YWLoginToAddOptionalKeyword;



typedef NS_ENUM(NSUInteger, YWVideoLocationType) {
    YWVideoLocationType_headerView = 0,
    YWVideoLocationType_leftVC = 1,
    YWVideoLocationType_rightVC = 2,
    
};



extern NSString * const ShowPhotoBrowserNote;
extern NSString * const ShowPhotoBrowserIndexKey;
extern NSString * const ShowPhotoBrowserUrlsKey;

extern NSString * const YWEnterBackgroundNote;
extern NSString * const YWEnterForegroundNote;



//YWDownloadType_downloading = 0,--
//YWDownloadType_pause = 1,--
//YWDownloadType_finish = 2,-
//YWDownloadType_Error = 3,-
//YWDownloadType_Remove = 4,-

//发通知（包含3个代理、、、操控也需要通知包括开始/继续、暂停、删除的、、、只要模型的属性发生了变化都需要通知）-、



//extern NSString * const YWResumeDownloadNote; //手动开始/继续下载 //这个不需要了、要看情况的话用progress

//extern NSString * const YWContinueDownloadNote; //手动继续下载 //全部刷新
//extern NSString * const YWPauseDownloadNote;  //手动暂停下载 //全部刷新
//extern NSString * const YWRemoveDownloadNote;  //手动移除下载 //全部刷新


extern NSString * const YWDownloadRefreshListNote; //将上面几个通知合并成同一个通知名字 //全部刷新

extern NSString * const YWStartDownloadNote;  //开始下载回调 //全部刷新
extern NSString * const YWFinishDownloadNote;   //完成下载回调 //全部刷新
extern NSString * const YWErrorDownloadNote;   //下载失败回调 //全部刷新

extern NSString * const YWProgressDownloadNote;  //正在下载回调 //刷新单个


extern NSString * const YWDownloadStatusKey;  //传个模型


extern NSString * const YWVideoUrlKey;
extern NSString * const YWProgressKey;

extern NSString * const YWKLineCheatsVideoListTypeKey;



extern NSString * const YWGetDownloadBadgeValueNote;  //获取正在下载多少个通知

//YWKLineCheatsVideoListType3
extern NSString * const YWChangeKLineCheatsVideoListTypeNote;  //改变YWKLineCheatsClassCell状态


